package com.yf.exam.modules.tmpl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.math.BigDecimal;

/**
* <p>
* 试卷题目细则实体类
* </p>
*
* @author 聪明笨狗
* @since 2021-04-25 13:59
*/
@Data
@TableName("el_tmpl_qu_answer")
public class TmplQuAnswer extends Model<TmplQuAnswer> {

    private static final long serialVersionUID = 1L;

    /**
    * ID
    */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
    * 考试ID
    */
    @TableField("ref_id")
    private String refId;

    /**
     * 选项ID
     */
    @TableField("answer_id")
    private String answerId;

    /**
    * 错误给分
    */
    @TableField("path_score")
    private BigDecimal pathScore;

}
